using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace PicturePage
{
    public partial class About : Form
    {
        public About()
        {
            InitializeComponent();
            this.linkLabel1.Links.Add(0, 30, "http://carlo.thewahlstedts.com");
        }

        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            // Display the appropriate link based on the value of the LinkData property of the Link object.
            System.Diagnostics.Process.Start(e.Link.LinkData.ToString());
        }

        private void linkLabel1_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
        {
            if (e.KeyCode == Keys.Escape)
            {
                this.DialogResult = DialogResult.Cancel;
                this.Close();
            }
        }
    }
}